﻿<%@ Page Language="C#" %>

<%
    String hopthu = Request["hopthu"];
    String server = Request["server"];
    String name = Request["name"];
    String pass = Request["pass"];
    BUS.Mail.MailSender mail = new BUS.Mail.MailSender();
    mail.Password = pass;
    mail.SenderAddess = hopthu;
    mail.SmtpServer = server;
    mail.UserName = name;

    Response.Write(mail.SaveConfig().ToString());
%>